#include <stdio.h>
#include <stdlib.h>
#include "kvdb.h"
int main(){
kvdb_t *db=malloc(sizeof(kvdb_t));
kvdb_open(db,DB_FILE);
/* srand seed: 1000248067*/
char* mystr;
kvdb_put(db, "PPP", "hkdqlcenjvwuqlqc");
kvdb_put(db, "FFF", "pdnakpyaqwctxfqeejrozjoufb");
kvdb_put(db, "BBB", "bdvwalbddhljucmeqbztsdxve");
kvdb_put(db, "III", "tkyzoihswfbvyicncpalxaywrwpo");
printf("%s\n", (mystr = kvdb_get(db, "III")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "BBB")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "PPP")) == NULL ? "(null)" : mystr);
kvdb_put(db, "FFF", "enccsjvhavrjbzzzibiqyize");
kvdb_put(db, "EEE", "kxvukumzuqljplqv");
kvdb_put(db, "BBB", "hynlyxoshugzclxm");
kvdb_put(db, "KKK", "yfiexhqpurxtumqzlwvgrzan");
kvdb_put(db, "CCC", "jwbkufabojzs");
kvdb_put(db, "CCC", "isbfeflgattivhby");
kvdb_put(db, "HHH", "mxkbrzghdylgpiwskagi");
kvdb_put(db, "EEE", "hubq");
kvdb_put(db, "PPP", "gubxoldnktxqiwniqytqgmhvlhys");
kvdb_put(db, "KKK", "hkdqlcenjvwuqlqc");
kvdb_put(db, "PPP", "adutfgwoljrhpptbsu");
printf("%s\n", (mystr = kvdb_get(db, "EEE")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "HHH")) == NULL ? "(null)" : mystr);
kvdb_put(db, "AAA", "u");
printf("%s\n", (mystr = kvdb_get(db, "KKK")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "CCC")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "AAA")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "bfiojktdvb");
kvdb_put(db, "CCC", "qatdntkknawnkzelfnpfyxwjto");
printf("%s\n", (mystr = kvdb_get(db, "PPP")) == NULL ? "(null)" : mystr);
kvdb_put(db, "JJJ", "dbtvviwnaxrxd");
printf("%s\n", (mystr = kvdb_get(db, "FFF")) == NULL ? "(null)" : mystr);
kvdb_put(db, "BBB", "xxpigpyuyslkyftppzzbhic");
kvdb_put(db, "PPP", "zqwdprqlykhavgqdexfrfkgehthk");
kvdb_put(db, "FFF", "nyhkfbpfpoub");
kvdb_put(db, "NNN", "uliioltlpoyohcdgrfwp");
printf("%s\n", (mystr = kvdb_get(db, "JJJ")) == NULL ? "(null)" : mystr);
kvdb_put(db, "HHH", "pclan");
kvdb_put(db, "JJJ", "pclan");
printf("%s\n", (mystr = kvdb_get(db, "NNN")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "PPP")) == NULL ? "(null)" : mystr);
kvdb_put(db, "DDD", "naeqmcrotkwveqqxkco");
kvdb_put(db, "CCC", "jhtknyimnqjfobdcbebzvc");
kvdb_put(db, "EEE", "tuqzgvnpizqvcxnketesqdwnaolhist");
kvdb_put(db, "EEE", "zcwjxyeoogyykojhag");
kvdb_put(db, "EEE", "arkktyxijkyacweyyey");
kvdb_put(db, "BBB", "nqecnvyzgfhlbdvegsrfvw");
printf("%s\n", (mystr = kvdb_get(db, "JJJ")) == NULL ? "(null)" : mystr);
kvdb_put(db, "EEE", "kofisb");
kvdb_put(db, "NNN", "bzcajjuythvlstzoac");
printf("%s\n", (mystr = kvdb_get(db, "NNN")) == NULL ? "(null)" : mystr);
kvdb_put(db, "JJJ", "kjcmlg");
kvdb_put(db, "III", "oevviemxf");
kvdb_put(db, "FFF", "kofisb");
printf("%s\n", (mystr = kvdb_get(db, "EEE")) == NULL ? "(null)" : mystr);
kvdb_put(db, "OOO", "kxhu");
kvdb_put(db, "MMM", "tkyzoihswfbvyicncpalxaywrwpo");
kvdb_put(db, "FFF", "nwvi");
kvdb_put(db, "BBB", "sug");
printf("%s\n", (mystr = kvdb_get(db, "FFF")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "JJJ")) == NULL ? "(null)" : mystr);
kvdb_put(db, "HHH", "twqbakxwxqdtcpscvbuyworryfdx");
kvdb_put(db, "HHH", "kcwxhayypzaqalwy");
kvdb_put(db, "KKK", "zqhslgwjrhpliggbgjki");
kvdb_put(db, "PPP", "kxvukumzuqljplqv");
kvdb_put(db, "JJJ", "jilhydzffpxynhcdry");
kvdb_put(db, "HHH", "x");
kvdb_put(db, "DDD", "zearftkhiankpll");
printf("%s\n", (mystr = kvdb_get(db, "III")) == NULL ? "(null)" : mystr);
kvdb_put(db, "MMM", "jadpjefypsnezjfrqy");
kvdb_put(db, "LLL", "bfiojktdvb");
kvdb_put(db, "FFF", "wcsiusbznmrdldrh");
printf("%s\n", (mystr = kvdb_get(db, "JJJ")) == NULL ? "(null)" : mystr);
kvdb_put(db, "AAA", "vtch");
kvdb_put(db, "KKK", "qqekuykbnnh");
printf("%s\n", (mystr = kvdb_get(db, "KKK")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "LLL")) == NULL ? "(null)" : mystr);
kvdb_put(db, "EEE", "takiyupbhbmycxdjjgowch");
printf("%s\n", (mystr = kvdb_get(db, "HHH")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "OOO")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "hjgybqma");
printf("%s\n", (mystr = kvdb_get(db, "PPP")) == NULL ? "(null)" : mystr);
kvdb_put(db, "BBB", "dihtuwxkrtorfsafftilxqvm");
printf("%s\n", (mystr = kvdb_get(db, "DDD")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "lxrexiaedmiidb");
printf("%s\n", (mystr = kvdb_get(db, "AAA")) == NULL ? "(null)" : mystr);
kvdb_put(db, "NNN", "zearftkhiankpll");
kvdb_put(db, "HHH", "pdnakpyaqwctxfqeejrozjoufb");
printf("%s\n", (mystr = kvdb_get(db, "MMM")) == NULL ? "(null)" : mystr);
kvdb_put(db, "FFF", "ccqtqskktcyovjpukbpanu");
kvdb_put(db, "GGG", "yfiexhqpurxtumqzlwvgrzan");
kvdb_put(db, "FFF", "jsslyaqhdomwxwhvbeyameblj");
kvdb_put(db, "FFF", "bxczhjty");
printf("%s\n", (mystr = kvdb_get(db, "HHH")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "rswetbzajurpppfoufh");
kvdb_put(db, "EEE", "pclan");
kvdb_put(db, "EEE", "rrrztdwdcxdmdjkslfdfkgbnngwnja");
kvdb_put(db, "OOO", "uliioltlpoyohcdgrfwp");
kvdb_put(db, "III", "avsviqcvqtsaqfhqydgachegwfyr");
kvdb_put(db, "MMM", "uizsgbsfgxbtkg");
printf("%s\n", (mystr = kvdb_get(db, "MMM")) == NULL ? "(null)" : mystr);
kvdb_put(db, "DDD", "qmkknlybdbmivvexxdpq");
printf("%s\n", (mystr = kvdb_get(db, "NNN")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "qrmfx");
kvdb_put(db, "EEE", "zctbto");
kvdb_put(db, "GGG", "sug");
kvdb_put(db, "KKK", "nrjkbvncnhjqtpzrfmqecknwqn");
kvdb_put(db, "PPP", "apypefdanmepdoayozizjgzld");
kvdb_put(db, "NNN", "zearftkhiankpll");
printf("%s\n", (mystr = kvdb_get(db, "FFF")) == NULL ? "(null)" : mystr);
kvdb_put(db, "FFF", "uaquyjs");
kvdb_put(db, "CCC", "zpobczzld");
printf("%s\n", (mystr = kvdb_get(db, "FFF")) == NULL ? "(null)" : mystr);
kvdb_put(db, "PPP", "ozcm");
kvdb_put(db, "BBB", "nyhkfbpfpoub");
printf("%s\n", (mystr = kvdb_get(db, "GGG")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "NNN")) == NULL ? "(null)" : mystr);
kvdb_put(db, "CCC", "xtvsvvkpjp");
printf("%s\n", (mystr = kvdb_get(db, "KKK")) == NULL ? "(null)" : mystr);
kvdb_put(db, "FFF", "ljkrb");
printf("%s\n", (mystr = kvdb_get(db, "CCC")) == NULL ? "(null)" : mystr);
kvdb_put(db, "BBB", "k");
kvdb_put(db, "GGG", "nyvuewbawmlnmjex");
printf("%s\n", (mystr = kvdb_get(db, "III")) == NULL ? "(null)" : mystr);
printf("%s\n", (mystr = kvdb_get(db, "EEE")) == NULL ? "(null)" : mystr);
kvdb_put(db, "FFF", "kq");
kvdb_put(db, "FFF", "adyhafqosljoxtkdzobalrwuec");
kvdb_put(db, "AAA", "brakfdshjdwikflteysky");
kvdb_put(db, "MMM", "ievlokcsrethnlvujel");
printf("%s\n", (mystr = kvdb_get(db, "OOO")) == NULL ? "(null)" : mystr);
kvdb_put(db, "III", "bjxtucnqoh");
kvdb_close(db);
return 0;
}